package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;
import java.lang.String;

/**
 * 案件状态变更日志表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "case_status_log",dataSource = "caseDS")
public class CaseStatusLogEntity {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 案件ID
     */
    @Column(value = "case_id")
    private Long caseId;

    /**
     * 原状态
     */
    @Column(value = "old_status")
    private String oldStatus;

    /**
     * 新状态
     */
    @Column(value = "new_status")
    private String newStatus;

    /**
     * 操作人ID
     */
    @Column(value = "operator_id")
    private Long operatorId;

    @Column(value = "operate_time")
    private Date operateTime;

    /**
     * 变更原因
     */
    @Column(value = "remark")
    private String remark;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCaseId() {
        return caseId;
    }

    public void setCaseId(Long caseId) {
        this.caseId = caseId;
    }

    public String getOldStatus() {
        return oldStatus;
    }

    public void setOldStatus(String oldStatus) {
        this.oldStatus = oldStatus;
    }

    public String getNewStatus() {
        return newStatus;
    }

    public void setNewStatus(String newStatus) {
        this.newStatus = newStatus;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
